package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 省市县字典对象 sys_prov_city_dist
 * 
 * @author rey
 * @date 2022-10-25
 */
public class SysProvCityDist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 省ID */
    @Excel(name = "省ID")
    private Long provinceId;

    /** 县 */
    @Excel(name = "县")
    private String district;

    /** 市ID */
    @Excel(name = "市ID")
    private Long cityId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("province", getProvince())
            .append("type", getType())
            .append("city", getCity())
            .append("provinceId", getProvinceId())
            .append("district", getDistrict())
            .append("cityId", getCityId())
            .toString();
    }
}
